package com.wish.wishhouses_market.service.impl;

import com.wish.wishhouses_market.entity.SysRegion;
import com.wish.wishhouses_market.mapper.SysRegionMapper;
import com.wish.wishhouses_market.service.ISysRegionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 地区表 服务实现类
 * </p>
 *
 * @author fanzijun
 * @since 2021-04-01
 */
@Service
public class SysRegionServiceImpl extends ServiceImpl<SysRegionMapper, SysRegion> implements ISysRegionService {

    @Override
    public List<SysRegion> queryRegionList(Integer parentId) {
        return baseMapper.queryRegionList(parentId);

    }
}
